package com.speily.cloud.storage.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * Storage
 *
 * @author : SPL
 * @since : 2021-05-13 10:51
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("storage_tbl")
public class Storage extends Model<Storage> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String commodityCode;
    private Integer count;

}
